using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace MainScene
{
    public class Facade:FacadeRoot
    {
        public UIController uicontroller;
        public Facade()
        {
            uicontroller=new UIController();
            //GameMediator.Instance.RegisterController(uiController);
            //GameMediator.Instance.RegisterSystem(new AudioSystem());
            GameMediator.Instance.RegisterController(uicontroller);
           // GameMediator.Instance.RegisterSystem(new AudioSystem());
        }


        protected override void Init()
        {

        }

        public override void GameUpdate()
        {
            uicontroller.GameUpdate();
        }

    }
}
